/**
*   helloworld servlet
*   4/6/2012
*/

package org.buptjunjun.servlet;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class HelloWorld extends HttpServlet
{
    public void doGet(HttpServletRequest request,
                  	 HttpServletResponse response) 
					 throws IOException ,ServletException
					 {
					  response.setContentType("text/html");
					  PrintWriter out = response.getWriter();
					  out.println("hello world by servlet");
					 }
	

}